package top.whysu.edevice.dto.app.account;

import java.util.List;

/**
 * app登录返回的数据
 */
public class AppLoginResponseDTO {
    /**
     * 当前账号在萤石对应的账号令牌
     */
    private String accessToken;
    /**
     * 账号过期时间，时间戳
     */
    private long isExpires;

    /**
     * 萤石的appKey
     */
    private String appKey;
    /**
     * 萤石的appSecret
     */
    private String appSecret;
    /**
     * 设备集合
     */
    private List<AppDeviceInfoDTO> deviceList;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public long getIsExpires() {
        return isExpires;
    }

    public void setIsExpires(long isExpires) {
        this.isExpires = isExpires;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public List<AppDeviceInfoDTO> getDeviceList() {
        return deviceList;
    }

    public void setDeviceList(List<AppDeviceInfoDTO> deviceList) {
        this.deviceList = deviceList;
    }
}
